package zelix.hack.hacks;

import zelix.hack.Hack;
import zelix.hack.HackCategory;
import zelix.utils.Wrapper;
import net.minecraft.network.play.client.CPacketPlayer;

public class SelfKick extends Hack {
	
	public SelfKick() {
		super("SelfKick", HackCategory.ANOTHER);
	}
	
	@Override
	public String getDescription() {
		return "Kick you from Server.";
	}
	
	@Override
	public void onEnable() {
		Wrapper.INSTANCE.sendPacket(new CPacketPlayer.Rotation(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, false));
		super.onEnable();
	}
}
